FROM ann-benchmarks

RUN apt update
RUN apt install -y git cmake g++ python3 python3-setuptools python3-pip libblas-dev liblapack-dev
RUN pip3 install wheel pybind11==2.5.0
RUN git clone https://github.com/WPJiang/HWTL_SDU-ANNS.git
RUN cp HWTL_SDU-ANNS/lib/* /usr/local/lib/
RUN cp HWTL_SDU-ANNS/bin/* /usr/local/bin/
RUN chmod a+x /usr/local/bin/* && chmod a+x HWTL_SDU-ANNS/*
RUN ldconfig
RUN pip3 install HWTL_SDU-ANNS/qsgngt-*-linux_x86_64.whl
